package com.rongxue.pojo;

import java.math.BigDecimal;
import java.util.Date;
//用户投资信息记录表
public class SInvestmentDetail {
    private Long id;//表ID

    private Long userId;//用户ID

    private Long projectId;//标ID

    private BigDecimal invTotal;//投资金额

    private BigDecimal invSucc;//成功投资金额

    private Integer deviceType;//设备类型----1 iOS,2 Android,3 h5, 4 PC

    private Integer autoInv;//是否自动投标----1手动,2自动

    private String rechargeNo;//充值编码

    private Integer status;//投标状态---1未付款,2投标成功,3投标失败,4已还款

    private Integer statusNew;//投标状态---1未付款,2投标成功,3投标失败,4已还款,5还款中

    private Integer bowType;//标类型

    private String cardNo;//付款卡号

    private String ghostPhone;//幽灵账户购买自动生成手机号

    private Date addTime;//添加时间

    private Long addUserId;//添加的用户ID

    private Date modifyTime;//修改的时间

    private Long modifyUserId;//修改的用户ID

    private Integer rewardType;//奖励类型

    private BigDecimal rewardValue;//奖励金额

    private Integer rewardId;//奖励id

    private BigDecimal interest;//给用户的总利息,单位年

    private String auth_code;//投标申请授权码

    private String third_reserved;//放还款流水号

    private String sequence_id;//陕呗流水号

    private BigDecimal interest_new;//加上加息券的利息

    public BigDecimal getInterest_new() {
        return interest_new;
    }

    public void setInterest_new(BigDecimal interest_new) {
        this.interest_new = interest_new;
    }

    public String getSequence_id() {
        return sequence_id;
    }

    public void setSequence_id(String sequence_id) {
        this.sequence_id = sequence_id;
    }

    public String getThird_reserved() {
        return third_reserved;
    }

    public void setThird_reserved(String third_reserved) {
        this.third_reserved = third_reserved;
    }

    public String getAuth_code() {
        return auth_code;
    }

    public void setAuth_code(String auth_code) {
        this.auth_code = auth_code;
    }

    public BigDecimal getInterest() {
        return interest;
    }

    public void setInterest(BigDecimal interest) {
        this.interest = interest;
    }

    public Integer getRewardType() {
        return rewardType;
    }

    public void setRewardType(Integer rewardType) {
        this.rewardType = rewardType;
    }

    public BigDecimal getRewardValue() {
        return rewardValue;
    }

    public void setRewardValue(BigDecimal rewardValue) {
        this.rewardValue = rewardValue;
    }

    public Integer getRewardId() {
        return rewardId;
    }

    public void setRewardId(Integer rewardId) {
        this.rewardId = rewardId;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getProjectId() {
        return projectId;
    }

    public void setProjectId(Long projectId) {
        this.projectId = projectId;
    }

    public BigDecimal getInvTotal() {
        return invTotal;
    }

    public void setInvTotal(BigDecimal invTotal) {
        this.invTotal = invTotal;
    }

    public BigDecimal getInvSucc() {
        return invSucc;
    }

    public void setInvSucc(BigDecimal invSucc) {
        this.invSucc = invSucc;
    }

    public Integer getDeviceType() {
        return deviceType;
    }

    public void setDeviceType(Integer deviceType) {
        this.deviceType = deviceType;
    }

    public Integer getAutoInv() {
        return autoInv;
    }

    public void setAutoInv(Integer autoInv) {
        this.autoInv = autoInv;
    }

    public String getRechargeNo() {
        return rechargeNo;
    }

    public void setRechargeNo(String rechargeNo) {
        this.rechargeNo = rechargeNo == null ? null : rechargeNo.trim();
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getStatusNew() {
        return statusNew;
    }

    public void setStatusNew(Integer statusNew) {
        this.statusNew = statusNew;
    }

    public Integer getBowType() {
        return bowType;
    }

    public void setBowType(Integer bowType) {
        this.bowType = bowType;
    }

    public String getCardNo() {
        return cardNo;
    }

    public void setCardNo(String cardNo) {
        this.cardNo = cardNo == null ? null : cardNo.trim();
    }

    public String getGhostPhone() {
        return ghostPhone;
    }

    public void setGhostPhone(String ghostPhone) {
        this.ghostPhone = ghostPhone == null ? null : ghostPhone.trim();
    }

    public Date getAddTime() {
        return addTime;
    }

    public void setAddTime(Date addTime) {
        this.addTime = addTime;
    }

    public Long getAddUserId() {
        return addUserId;
    }

    public void setAddUserId(Long addUserId) {
        this.addUserId = addUserId;
    }

    public Date getModifyTime() {
        return modifyTime;
    }

    public void setModifyTime(Date modifyTime) {
        this.modifyTime = modifyTime;
    }

    public Long getModifyUserId() {
        return modifyUserId;
    }

    public void setModifyUserId(Long modifyUserId) {
        this.modifyUserId = modifyUserId;
    }

    @Override
    public String toString() {
        return "SInvestmentDetail{" +
                "id=" + id +
                ", userId=" + userId +
                ", projectId=" + projectId +
                ", invTotal=" + invTotal +
                ", invSucc=" + invSucc +
                ", deviceType=" + deviceType +
                ", autoInv=" + autoInv +
                ", rechargeNo='" + rechargeNo + '\'' +
                ", status=" + status +
                ", statusNew=" + statusNew +
                ", bowType=" + bowType +
                ", cardNo='" + cardNo + '\'' +
                ", ghostPhone='" + ghostPhone + '\'' +
                ", addTime=" + addTime +
                ", addUserId=" + addUserId +
                ", modifyTime=" + modifyTime +
                ", modifyUserId=" + modifyUserId +
                ", rewardType=" + rewardType +
                ", rewardValue=" + rewardValue +
                ", rewardId=" + rewardId +
                ", interest=" + interest +
                '}';
    }
}